Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Create Gemfiles with an HTTPS github source defined#5728

Merged
bundlerbot merged 1 commit intomasterfrom
seg-bundle-gem-github-source
Jun 16, 2017
Merged

Create Gemfiles with an HTTPS github source defined#5728
bundlerbot merged 1 commit intomasterfrom
seg-bundle-gem-github-source

Conversation

@segiddins
Copy link
Copy Markdown
Contributor

What was the end-user problem that led to this PR?

The problem was that people are creating new Gemfiles that use the built-in github git source, which is being removed in 2.0. Additionally, it does not use an encrypted connection to GitHub.

Was was your diagnosis of the problem?

My diagnosis was that we can't change the default because of backwards compatibility, but we can encourage new Gemfiles to "do the right thing".

What is your fix for the problem, implemented in this PR?

My fix is to add our new, recommended definition of the shortcut to all bundler-generated gemfiles.

Why did you choose this fix out of the possible options?

I chose this fix because it will only affect new Gemfiles.

@segiddins segiddins requested a review from indirect June 15, 2017 22:46
@indirect
Copy link
Copy Markdown

@bundlerbot r+

@bundlerbot
Copy link
Copy Markdown
Collaborator

📌 Commit 74adefe has been approved by indirect

@bundlerbot
Copy link
Copy Markdown
Collaborator

⌛ Testing commit 74adefe with merge d11d693...

bundlerbot added a commit that referenced this pull request Jun 16, 2017
Create Gemfiles with an HTTPS github source defined

### What was the end-user problem that led to this PR?

The problem was that people are creating new Gemfiles that use the built-in `github` git source, which is being removed in 2.0. Additionally, it does _not_ use an encrypted connection to GitHub.

### Was was your diagnosis of the problem?

My diagnosis was that we can't change the default because of backwards compatibility, but we can encourage _new_ Gemfiles to "do the right thing".

### What is your fix for the problem, implemented in this PR?

My fix is to add our new, recommended definition of the shortcut to all bundler-generated gemfiles.

### Why did you choose this fix out of the possible options?

I chose this fix because it will only affect new Gemfiles.
@bundlerbot
Copy link
Copy Markdown
Collaborator

☀️ Test successful - status-travis
Approved by: indirect
Pushing d11d693 to master...

@bundlerbot bundlerbot merged commit 74adefe into master Jun 16, 2017
@segiddins segiddins added this to the 1.15.2 milestone Jul 5, 2017
segiddins pushed a commit that referenced this pull request Jul 17, 2017
Create Gemfiles with an HTTPS github source defined

### What was the end-user problem that led to this PR?

The problem was that people are creating new Gemfiles that use the built-in `github` git source, which is being removed in 2.0. Additionally, it does _not_ use an encrypted connection to GitHub.

### Was was your diagnosis of the problem?

My diagnosis was that we can't change the default because of backwards compatibility, but we can encourage _new_ Gemfiles to "do the right thing".

### What is your fix for the problem, implemented in this PR?

My fix is to add our new, recommended definition of the shortcut to all bundler-generated gemfiles.

### Why did you choose this fix out of the possible options?

I chose this fix because it will only affect new Gemfiles.

(cherry picked from commit d11d693)

# Conflicts:
#	lib/bundler/templates/gems.rb
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants